﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true"
    CodeFile="Content.aspx.cs" Inherits="Admin_Content" Title="Content Management" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <h3>
        List of all articles <span style="font-size: 9pt;">(Please input simplified Chinese)</span>
    </h3>
    <asp:TreeView ID="treeArticles" runat="server" BackColor="#FFFFC0" Width="90%" ShowLines="true"
        NodeStyle-CssClass="node">
    </asp:TreeView>

    <script language="javascript">
    var article_id = 0;
    </script>

    <div id="ie5menu" class="skin0" onmouseover="highlightie5(event)" onmouseout="lowlightie5(event)"
        display:none>
        <a href="fake.aspx" class="munuitems" title="添加一片新文章" onclick="return GB_showCenter('Article Management','../EditArticle.aspx?action=add&Id=' + article_id, 500, 800); ">
            &nbsp;Add child</a>
        <hr />
        <a href="fake.aspx" class="munuitems" title="编辑当前文章" onclick="return GB_showCenter('Article Management','../EditArticle.aspx?action=edit&Id=' + article_id, 500, 800); ">
            &nbsp;Edit</a>
        <hr />
        <a href="fake.aspx" class="munuitems" title="删除当前文章和所有子文章" onclick="if (window.confirm('All child articles will be deleted, are you sure?')) { return GB_showCenter('Article Management','../EditArticle.aspx?action=delete&Id=' + article_id, 500, 800); } else return false; ">
            &nbsp;Delete</a>
    </div>

    <script src="../Js/xtreeview.js" type="text/javascript"></script>

</asp:Content>
